@isTest
private class EmailVelocityCheckSchedulerTest
{
    public static testMethod void TestEmailVelocityCheck()
    {
      /*  User thisUser = [ select Id from User where Id = :UserInfo.getUserId() ];
        System.runAs ( thisUser )
        {
            User test_user = new User();
            
            test_user.UserName = 'emailvelocitycheck@attinteractive.com';
            test_user.LastName = 'Michael Shu Test Email';
            test_user.Email = 'sshu@attinteractive.com';
            test_user.Alias = 'abcde';
            test_user.CommunityNickname = 'xyaz_1234556';
            test_user.TimeZoneSidKey = 'America/Los_Angeles';
            test_user.LocaleSidKey = 'en_US';
            test_user.EmailEncodingKey = 'UTF-8';
            test_user.ProfileId = [select id from Profile where Name like 'System Administrator' limit 1].Id;
            //test_user.UserRoleId = [select id from UserRole limit 1].Id ;
            test_user.LanguageLocaleKey = 'en_US';
            test_user.IsActive = true;
            insert test_user;
            
            // Check for scheduled jobs owned by this user
            list<CronTrigger> cts = [SELECT id, OwnerId, CronExpression FROM CronTrigger where OwnerId = : test_user.Id];
            System.assertEquals(cts.size(), 0);
            System.runAs( test_user )
            {
                Integer start = Math.Mod(DateTime.Now().Minute(), 60);
                Integer window = 10;
                Integer thresh = 100;
                EmailVelocityCheckScheduler.start(start, window, thresh);
                RescheduleEmailVelocityJobHandler Re = new RescheduleEmailVelocityJobHandler(start, window, thresh);
                cts = [SELECT id, OwnerId, CronExpression FROM CronTrigger where OwnerId = : test_user.Id];   
                System.assertEquals(cts.size(), 1);
                String OldExp = cts[0].CronExpression;
                Re.Reschedule(cts[0].id);
                cts = [SELECT id, OwnerId, CronExpression FROM CronTrigger where OwnerId = : test_user.Id];
                System.assertEquals(cts.size(), 1);
                String NewExp = cts[0].CronExpression;
                System.assertNotEquals(OldExp, NewExp);
                System.abortJob(cts[0].Id);
            }
        } */
    }   
}